import './style.css'
import * as components from './src/components'

const app = document.querySelector('#app')

const uploadImage = new components.uploadImage(app, {
    url: 'http://127.0.0.1:5081/upload',
    limitCount: 5,
    accept: ['image/gif', 'image/png', 'image/jpg', 'image/jpeg'],
    quality: 0.4,
    litmitSize: 1.5,
    queueCount: 1
}, (data) => {
    console.log(data)
});

// app.appendChild(components.uploadImage)